/*
 * UpdateEvent.java
 *
 * Created on 10 październik 2007, 19:36
 *
 */

package kosciak.blip4j.automation;

import java.util.EventObject;
import kosciak.blip4j.*;

/**
 * <CODE>UpdateEvent</CODE> is an abstract class containing common methods for both StatusEvent and DirectMessageEvent
 * @author Wojtek 'KosciaK' Pietrzok
 * @since 0.1
 */
public abstract class UpdateEvent extends EventObject {
    
    private BlipClient client;
    
    /** Creates a new instance of UpdateEvent */
    UpdateEvent(Object source, BlipClient client) {
        super(source);
        this.client = client;
    }

    /**
     * Gets BlipClient used by the UpdateChecker.
     * @return a BlipClient used by the UpdateChecker.
     */
    public BlipClient getClient() {
        return client;
    }
   
}
